package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.SysIncomeMonth;

/**
 * 月收益Mapper接口
 * 
 * @author ruoyi
 * @date 2022-10-30
 */
public interface SysIncomeMonthMapper 
{
    /**
     * 查询月收益
     * 
     * @param incomeId 月收益主键
     * @return 月收益
     */
    public SysIncomeMonth selectSysIncomeMonthByIncomeId(Long incomeId);

    /**
     * 查询月收益列表
     * 
     * @param sysIncomeMonth 月收益
     * @return 月收益集合
     */
    public List<SysIncomeMonth> selectSysIncomeMonthList(SysIncomeMonth sysIncomeMonth);

    /**
     * 新增月收益
     * 
     * @param sysIncomeMonth 月收益
     * @return 结果
     */
    public int insertSysIncomeMonth(SysIncomeMonth sysIncomeMonth);

    /**
     * 修改月收益
     * 
     * @param sysIncomeMonth 月收益
     * @return 结果
     */
    public int updateSysIncomeMonth(SysIncomeMonth sysIncomeMonth);

    /**
     * 删除月收益
     * 
     * @param incomeId 月收益主键
     * @return 结果
     */
    public int deleteSysIncomeMonthByIncomeId(Long incomeId);

    /**
     * 批量删除月收益
     * 
     * @param incomeIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSysIncomeMonthByIncomeIds(Long[] incomeIds);
}
